package com.ioc.business.order.controller;

import com.ioc.business.order.domain.bo.receive.data.board.ReceiveDataBoardQueryBo;
import com.ioc.business.order.service.IReceiveDataBoardService;
import com.ioc.business.order.vo.receive.data.board.ReceiveDataBoardPageVo;
import com.ioc.common.core.controller.BaseController;
import lombok.AllArgsConstructor;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 收货订单数据看板
 */
@RestController
@RequestMapping("/data-Board/receive-order")
@AllArgsConstructor
public class ReceiveDataBoardController extends BaseController {

    private final IReceiveDataBoardService receiveDataBoardService;

    /**
     * 分页查询收货订单数据看板列表
     *
     * @param queryBo
     * @return
     * @folder 收货订单数据看板/分页查询收货订单数据看板列表
     */
    @GetMapping("/list")
    public ReceiveDataBoardPageVo selectReceiveOrderPageList(ReceiveDataBoardQueryBo queryBo) {
        startPage();
        return receiveDataBoardService.selectReceiveDataBoardPageList(queryBo);
    }
}
